package cn.juque.systemservice.mapper;

import cn.juque.systemservice.domain.OrgInfoDO;
import cn.juque.systemservice.entity.OrgInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author JUQUE
 * @version 1.0.0
 * <ul>
 *  <li>simple-generator</li>
 *  <li>机构信息</li>
 * </ul>
 * @date 2022-11-03 23:57:34
 **/
@Mapper
public interface OrgInfoMapper extends BaseMapper<OrgInfo> {

    /**
     * 分页查询
     *
     * @param page    : page
     * @param orgInfo : orgInfo
     * @return List<OrgInfo>
     */
    List<OrgInfoDO> queryInfoList(Page<OrgInfoDO> page, @Param("ew") OrgInfoDO orgInfo);

    /**
     * 查询
     *
     * @param orgInfo : orgInfo
     * @return List<OrgInfo>
     */
    List<OrgInfoDO> queryInfoList(@Param("ew") OrgInfoDO orgInfo);
}
